<?php
/**
 * @package    Joomla.Tutorials
 * @subpackage Components
 * @link http://docs.joomla.org/Developing_a_Model-View-Controller_Component_-_Part_1
 * @license    GNU/GPL
*/
 
// no direct access
 
defined( '_JEXEC' ) or die( 'Restricted access' );
 
jimport( 'joomla.application.component.view');
 
/**
 * HTML View class for the HelloWorld Component
 *
 * @package    HelloWorld
 */
 
class NvViewhotel extends JView
{
    function display($tpl = null)
    {
	
	JToolBarHelper::title( JText::_( 'Data URL RSS Hotel' ), 'generic.png' );
	JToolBarHelper::deleteList();
	JToolBarHelper::editListX();
	JToolBarHelper::addNewX();
	
				JSubMenuHelper::addEntry( '<span class="editlinktip hasTip" title="'.JText::_( 'Objek Pariwisata' ).'::'.JText::_('Data-Data Pariwisata').'">'.JText::_( 'Objek Pariwisata' ).'</span>', 'index.php?option=com_nv&controller=objek');
			JSubMenuHelper::addEntry( '<span class="editlinktip hasTip" title="'.JText::_( 'Master Propinsi' ).'::'.JText::_('Master Data Propinsi').'">'.JText::_( 'Master Propinsi' ).'</span>', 'index.php?option=com_nv&controller=propinsi');
			JSubMenuHelper::addEntry( '<span class="editlinktip hasTip" title="'.JText::_( 'Master Kota' ).'::'.JText::_('Master Data Kota').'">'.JText::_( 'Master Kota' ).'</span>', 'index.php?option=com_nv&controller=kota');
			JSubMenuHelper::addEntry( '<span class="editlinktip hasTip" title="'.JText::_( 'Input Hotel' ).'::'.JText::_('Input Data Hotel').'">'.JText::_( 'Input Hotel' ).'</span>', 'index.php?option=com_nv&controller=form', true);
			JSubMenuHelper::addEntry( '<span class="editlinktip hasTip" title="'.JText::_( 'Input Restoran' ).'::'.JText::_('Input Data Restoran').'">'.JText::_( 'Input Restoran' ).'</span>', 'index.php?option=com_nv&controller=formrestoran');
			JSubMenuHelper::addEntry( '<span class="editlinktip hasTip" title="'.JText::_( 'Data Api Key' ).'::'.JText::_('Data Api Key').'">'.JText::_( 'Data Api Key' ).'</span>', 'index.php?option=com_nv&controller=apikey');
	
	$items =& $this->get( 'Data'); 
    $this->assignRef( 'items', $items );
 
        parent::display($tpl);
    }
	
	
}
